package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.Orders;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface OrdersService extends IService<Orders> {
    void submit(Orders orders);

    Page userPage(int page, int pageSize);
}
